/* 天气卡片样式 */
.weather-card {
  margin: 20px auto;
  width: 90%;
  max-width: 400px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all var(--transition-duration) ease;
}

.weather-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.city-name {
  margin: 0;
  font-size: 24px;
  color: var(--text-primary);
}

.weather-main {
  text-align: center;
  margin-bottom: 20px;
}

.temperature {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-primary);
}

.weather-text {
  font-size: 18px;
  color: var(--text-regular);
  margin-top: 5px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-regular);
}

.update-time {
  text-align: right;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 10px;
}
